date between query in codeigniter

130

date between query in codeigniter -

$this->db->where('sell_date BETWEEN "'. date('Y-m-d', strtotime($start_date)). '" and "'. date('Y-m-d', strtotime($end_date)).'"');

Comments

Submit
0 Comments